package org.litemall.netty;

import org.litemall.netty.config.NettyBootsrapRunner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

import java.util.concurrent.Executors;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class NettyApplication {

    @Autowired
    private static NettyBootsrapRunner nettyBootsrapRunner;


    public static void main(String[] args) {
        SpringApplication.run(NettyApplication.class, args);
    }

}
